public class TestStudent {

    //一旦有程序 入口
    public static void main(String[] args) {
        //将抽象的这个学生 实例化
        Student student = new Student();
        //给属性赋值
        student.name = "阿曾";
        student.studentNo = "2023032317";
        student.classes = "软件232";
//        student.age
        student.balance = 0;
        student.isSingle = true;

        //调用方法
        student.study();

        //取值 打印
        System.out.println(student.age);

    }


}
